import camera from '@dfeidao/atom-mobile/image-crop-picker/camera';
import { IFeidaoAiMobile } from '@dfeidao/atom-mobile/interfaces';
import local_set from '@dfeidao/atom-mobile/local/set';

export default async function a002(fd: IFeidaoAiMobile) {
	try {
		const res = await camera({
			width: 300,
			height: 400,
			cropping: false
		});
		const f = res.path;
		local_set(fd, 'f', f);
		console.log('=================', res);

	} catch (error) {
		console.log('qqqqqqqqqqqqqqqqqqqq=', error);

	}

	// "/data/user/0/com.feidaotest/filesimage-c2cde946-d8a0-4931-9721-ed75e28df42f1370751877.jpg"
}
